package com.gc.business.service;

import com.gc.business.domain.IntegralDetail;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 积分明细 服务层
 * 
 * @author liujinteng
 * @date 2021-01-04
 */
public interface IIntegralDetailService extends IService<IntegralDetail> {
    /**
    * 列表查询
    */
    List<IntegralDetail> list(IntegralDetail integralDetail);

    /**
     * 查询指定月份下的积分
     * @param yearMonth
     * @param userId
     * @return
     */
    Integer selectScoreByMonth(String yearMonth, Long userId);
}
